<template>
	<view class="page-height">
		<i-top-bar title="个人信息"> </i-top-bar>
		<view class="page-content">
			<view class="list">
				<view class="line" @click="openWin('/pages/user/edit-username')">
					<text class="label">用户名</text>
					<input type="text" :value="user.username" placeholder="用户名" class="input" disabled />
					<image src="@/static/images/edit.png" class="ioc"></image>
				</view>
				<view class="line">
					<text class="label">手机号</text>
					<input type="text" :value="user.mobile" placeholder="手机号" class="input" disabled />
				</view>
			</view>

		</view>
		<u-toast ref="uToast"></u-toast>
	</view>
</template>
<script>
	export default {
		data() {
			return {};
		},



		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.page-content {
		display: flex;
		flex-direction: column;
		position: relative;
		z-index: 1;
	}

	.list {
		display: flex;
		flex-direction: column;
		background-color: #ffffff;
		padding: 0 30rpx;

		.line {
			height: 116rpx;
			display: flex;
			align-items: center;
			border-bottom: 1px solid #E5E5E5;

			.label {
				width: 180rpx;
				font-size: 28rpx;
				color: #333333;
			}

			.input {
				flex: 1;
			}

			.ioc {
				width: 32rpx;
				height: 32rpx;
			}
		}

		.line:last-child {
			border: none;
		}
	}
</style>